package com.qf.constant;

import com.qf.utils.PropertiesUtil;

/**
 * @创建人: fengli
 * @创建时间: 2018/10/30 0030 13:12
 * @包: com.qf.constant
 * @描述:
 */
public class CommonConstant {
    public static final String[] randomStr = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
    public static final String reg_verifyCode = "reg_verifyCode";
    public static final String back_verifyCode = "back_verifyCode";
    public static final String commonPostUrl = PropertiesUtil.getValue("domainPost");
    public static final String commonGetUrl = PropertiesUtil.getValue("domainGet");
    //
    //-------------登入鉴权及展示接口----------------------------------------------------------------------------------------------------------
    //
    public static final String login = commonPostUrl + "login";//AA_1：用户登录接口
    public static final String userRegister = commonPostUrl + "userRegister";//接口AA_8：注册接口—(石尧)注册成功后返回用户ID
    public static final String getVerificationCode = commonPostUrl + "getVerificationCode";//注册时获取验证码接口—(石尧)
    public static final String resetPasswords = commonPostUrl + "resetPasswords";//接口AA_10 : 重置密码时获取邮箱验证码—(石尧)
    public static final String modificationUserPassWord = commonPostUrl + "modificationUserPassWord";// 接口AA_11 : 重置密码接口--
    public static final String getTenantFromUser = commonPostUrl + "getTenantFromUser";//AA_2：根据用户登录信息,查询用户下的所有租户
    public static final String getAllProductsNameId = commonGetUrl + "get_all_products_name_id";//AA_3：根据所选租户id,查询该租户下的所有产品（DeviceInfo已有）
    public static final String boxIdValidation = commonPostUrl + "boxIdValidation";//AA_4：校验模块ID合法性,对每个boxId进行校验,验证是否属于上面选择的产品(POST)（deviceInfo新增）
    public static final String startTest = commonPostUrl + "startTest";//AA_5：点击开始,将页面所有boxId传到后台
    public static final String ToStopTesting = commonPostUrl + "ToStopTesting";//AA_5：点击开始,将页面所有boxId传到后台
    public static final String getDeviceStatusToMtms = commonPostUrl + "getDeviceStatusToMtms";//获取云盒对应的设备最新工况信息接口
    public static final String getBoxIdAndTestResult = commonPostUrl + "getBoxIdAndTestResult";//根据测试人员id,获取boxId和其对应的状态
    public static final String getConfigById = commonPostUrl + "getConfigById";//判断是否有配置(1:存在这条配置信息,0:不存在)
    public static final String cleanBoxIdMap = commonPostUrl + "cleanBoxIdMap";//根据boxId,清理KafkaData

    //
    //-------------测试配置信息的录入----------------------------------------------------------------------------------------------------------
    //


    public static final String CheckRuleStore = commonPostUrl + "CheckRuleStore";//存储校验规则
    public static final String TestPatternStore = commonPostUrl + "TestPatternStore";//测试模式配置存储
    public static final String TestPatternQuery = commonPostUrl + "TestPatternQuery";//测试模式配置查询
    public static final String CheckRuleQuery = commonPostUrl + "CheckRuleQuery";//根据测试人员id,获取boxId和其对应的状态
    public static final String getDeviceTypeContent = commonGetUrl + "get_device_type_content";//设备模型属性名查询（deviceInfo已有）（GET）


    //
    //-------------查询测试结果集----------------------------------------------------------------------------------------------------------
    //

    public static final String PressureTestResultsQuery = commonPostUrl + "PressureTestResultsQuery";//获取压力测试的执行结果和失败原因统计表查询
    public static final String singleTestResultQuery = commonPostUrl + "singleTestResultQuery";//单次的执行结果和状态查询

}